package org.demo.base.array;

/**
 * 测试数组
 */
public class ArrayTest {

    public static void main(String[] args) {
        //指定长度定义
        String[] array1 = new String[3];
        //指定数组值定义
        String[] array2 = new String[]{"1","2","3"};

        String[] array3 = {"1","2","3"};


        int length1 = array1.length;

        long length2 = array2.length;

        long length3 = array3.length;
    }
}
